Learn R Programming

ffbase (version 0.12.3)

>.ff_vector: Ops for ff vectors

Description

These operators implement ff_vector specific operators and handle the following operators from the Ops family:
  • Compare: "==", "!=", "<", "<=", ">=", ">"
  • Logic: "&", "|", "!"

The operators require either x or y to be an ff_vector or both. In case either x or y is not an ff_vector, the other object needs to be of length 1. Recycling is not implemented.

Usage

">" (x, y)
"<" (x,="" y)<="" div="">
"==" (x, y)
"!=" (x, y)
"<=" (x,="" y)<="" div="">
">=" (x, y)
"&" (x, y)
"|" (x, y)
"!" (x)

Arguments

x
either a numeric ff_vector or a vector of length 1 in RAM in which case y should be an ff_vector
y
either a numeric ff_vector or a vector of length 1 in RAM in which case x should be an ff_vector

Value

an ff_vector. For the definition of the operators see the base package of R.